package com.mcxx.modules.miniSalvation.family.dao.read;

import com.mcxx.modules.miniSalvation.family.dto.FamilySpecialObjectDTO;
import com.mcxx.modules.miniSalvation.family.entity.FamilySpecialEntity;
import com.mcxx.modules.miniSalvation.family.param.FamilySpecialParam;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FamilySpecialReadDao  extends Ta404SupportMapper {

    List<FamilySpecialEntity> querFamilyspecialByFamilyId(@Param("familyId") String familyId);


    FamilySpecialEntity queryFamilySpecialById(@Param("id") String id);


    List<FamilySpecialObjectDTO> getFamilySpecials(FamilySpecialParam param);


    String getIdByFamilyIdAndIdcard(@Param("familyId") String familyId,@Param("idcard") String idcard);


    int cntFamilySpecialNum(String familyId);
}
